//定义小仓库state类型
import type { RouteRecordRaw } from "vue-router"
import type { CategoryObject } from "../../../api/product/attr/type"

export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  username: string
  avatar: string
}

//定义分类仓库对象ts类型
export interface CategoryState {
  c1Id: string | number
  c2Id: string | number
  c3Id: string | number
  c1Arr: CategoryObject[]
  c2Arr: CategoryObject[]
  c3Arr: CategoryObject[]
}
